function [ dates, data ] = gRemoveNans( dates, data )
%REMOVENANS Remove timesteps with all NaN values
%
%   L. Winslow 2011-07-05
%   Last Revision: 2011-07-05.

nanIndx = any(isnan(data),1);
dates = dates(~nanIndx);
data = data(~nanIndx,:);
end

